Adifor Working Note #2: Using Adifor to Compute Dense and Sparse Jacobians Using Adifor to Compute Dense and Sparse Jacobians

نویسندگان

  • Christian Bischof
  • Paul Hovland
  • Christian H. Bischof
چکیده

ADIFOR is a source translator that, given a collection of Fortran subroutines for the computation of a \function," produces Fortran code for the computation of the derivatives of this function. More speciically, ADIFOR produces code to compute the matrix-matrix product JS, where J is the Jacobian of the \function" with respect to the user-deened independent variables, and S is the composition of the derivative objects corresponding to the independent variables. This interface is exible; by setting S = x, one can compute the matrix-vector product Jx, or by setting S = I, one can compute the whole Jacobian J. Other initializations of S allow one to exploit a known sparsity structure of J. This paper illustrates the proper initialization of ADIFOR-generated derivative codes and the exploitation of a known sparsity structure of J.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Using Adifor to Compute Dense and Sparse Jacobians

ADIFOR is a source translator that, given a collection of Fortran subroutines for the computation of a \function," produces Fortran code for the computation of the derivatives of this function. More speciically, ADIFOR produces code to compute the matrix-matrix product JS, where J is the Jacobian of the \function" with respect to the user-deened independent variables, and S is the composition o...

متن کامل

Adifor Working Note #5: Adifor: Automatic Diierentiation in a Source Translator Environment Adifor: Automatic Diierentiation in a Source Translator Environment

The numerical methods employed in the solution of many scientiic computing problems require the computation of derivatives of a function f : R n ! R m. ADIFOR (Automatic Diierentiation In FORtran) is a source transformation tool that accepts Fortran 77 code for the computation of a function and writes portable Fortran 77 code for the computation of the derivatives. In contrast to previous appro...

متن کامل

Adifor Working Note #6: Structured Second-and Higher-order Derivatives through Univariate Taylor Series Mcs Preprint P296{0392

Second-and higher-order derivatives are required by applications in scientiic computation, especially for optimization algorithms. The two complementary concepts of interpolating partial derivatives from univariate Taylor series and preaccumulating of \local" derivatives form the mathematical foundations for accurate, eecient computation of second-and higher-order partial derivatives for large ...

متن کامل

ADIFOR - Generating Derivative Codes form Fortran Programs

The numerical methods employed in the solution of many scientiic computing problems require the computation of derivatives of a function f : R n ! R m. Both the accuracy and the computationalrequirements of the derivativecomputation are usually of critical importance for the robustness and speed of the numerical solution. ADIFOR (Automatic Diierentiation In FORtran) is a source transformation t...

متن کامل

ADIFOR Generating Derivative Codes from Fortran Programs

The numericalmethods employed in the solution of many scienti c computing problems require the computation of derivatives of a function f R R Both the accuracy and the computational requirements of the derivative computation are usually of critical importance for the robustness and speed of the numerical solution ADIFOR Automatic Di erentiation In FORtran is a source transformation tool that ac...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1992